package com.umakr.ax.app.web;

import com.umakr.ax.common.model.PluginSignUpResult;
import com.umakr.ax.core.base.AbstractController;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <p>
 * ${table.comment}  前端控制器
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
@Controller
@RequestMapping("/pluginSignUpResult")
public class PluginSignUpResultAppController extends AbstractController {

	@Override
	@ApiOperation(value = "查询${table.comment}")
	@PutMapping(value = "/read/list")
	public Object query(ModelMap modelMap, @RequestBody Map<String, Object> param) {
		return super.query(modelMap, param);
	}

	@ApiOperation(value = "${table.comment}详情")
	@PutMapping(value = "/read/detail")
	public Object get(ModelMap modelMap, @RequestBody PluginSignUpResult param) {
		return super.get(modelMap, param);
	}

	@PostMapping
	@ApiOperation(value = "修改${table.comment}")
	public Object update(ModelMap modelMap, @RequestBody PluginSignUpResult param) {
		return super.update(modelMap, param);
	}

	@DeleteMapping
	@ApiOperation(value = "删除${table.comment}")
	public Object delete(ModelMap modelMap, @RequestBody PluginSignUpResult param) {
		return super.delete(modelMap, param);
	}
}